<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>CRM</title>
    <link rel="stylesheet" type="text/css" href="/static/plugin/jquery-easyui-1.5.2/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/plugin/jquery-easyui-1.5.2/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="/static/plugin/jquery-easyui-1.5.2/demo/demo.css">
    <script type="text/javascript" src="/static/plugin/jquery-easyui-1.5.2/jquery.min.js"></script>
    <script type="text/javascript" src="/static/plugin/jquery-easyui-1.5.2/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/static/plugin/jquery-easyui-1.5.2/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/guard.js"></script>
</head>
<body>
<form method="post" id="guard_form">
    <table style="margin-top: 20px" align="left" >
        <tr style="height:40px">
            <td>
                <span style="font-size:20px;text-align: left" >客户信息</span>
            </td>
        </tr>
        <tr style="height:40px">
            <td>
                投保人:
            </td>
            <td>
                <input class="easyui-textbox" name="client.name" data-options="required:true">
            </td>

        </tr>
    </table>
    <table style="margin-top: 20px" align="left" >
        <tr style="height:40px">
            <td>
                <span style="font-size:20px;text-align: left" >车辆信息</span>
            </td>
        </tr>
        <tr style="height:40px">
            <td>
                车主姓名:
            </td>
            <td>
                <input class="easyui-textbox" name="car.name" data-options="required:true">
            </td>
            <td>
                品牌:
            </td>
            <td>
                <input class="easyui-combobox" name="car.carbrand.id" prompt="请选择"
                       data-options="panelHeight:'auto',
                            valueField: 'id',
                            limitToList: true,
                            editable:false,
                            textField: 'value',
                            data: [{
                                id: '1',
                                value: '宝马'
                            },{
                                id: '2',
                                value: '丰田'
                            }]">
            </td>
            <td>
                型号:
            </td>
            <td>
                <input class="easyui-textbox" name="car.model" data-options="required:true">
            </td>

        </tr>

        <tr id="#" style="height:40px">
            <td>
                车牌号码:
            </td>
            <td>
                <input class="easyui-textbox" name="car.number" data-options="required:true">
            </td>
            <td>
                排量(L):
            </td>
            <td>
                <input class="easyui-textbox" name="car.displacement">
            </td>
            <td>
                车辆用途:
            </td>
            <td>
                <input class="easyui-combobox" id="carClasssification" name="car.classification" prompt="请选择"
                       data-options="panelHeight:'auto',
                            valueField: 'value',
                            limitToList: true,
                            editable:false,
                            textField: 'value',
                            data: [{
                                id: '1',
                                value: '载物'
                            },{
                                id: '2',
                                value: '载客'
                            }]">
            </td>

        </tr>
        <tr id="#3" style="height:40px">
            <td>
                购置日期:
            </td>
            <td>
                <input class="easyui-datebox" name="car.date" >
            </td>
            <td>
                市场估价(W):
            </td>
            <td>
                <input class="easyui-textbox" name="car.price">
            </td>
            <td>
                车辆类别:
            </td>
            <td>
              <input class="easyui-combobox" id="carSize" prompt="请选择" name="car.size"
                       data-options="panelHeight:'auto',
                            valueField: 'value',
                            limitToList: true,
                            editable:false,
                            textField: 'value',
                            data: [{
                                id: '1',
                                value: '小型'
                            },{
                                id: '2',
                                value: '中型'
                            },{
                                id: '3',
                                value: '大型'
                            },{
                                id: '4',
                                value: '超大型'
                            }]">
            </td>
        </tr>
    </table>

    <table id="guard_datagrid">
    </table>
</form>
<div style="margin:20px 0;"></div>
<a  style="margin-left: 550px;width:110px;height: 40px;"
    class="easyui-linkbutton"  data-cmd="submit"  >保存</a>
</div>
</body>
</html>